package com.hydra.file.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hydra.base.comment.Comment;
import com.hydra.base.entity.CodeEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * Skyler文件记录表
 * @Author Hydra
 * @Date 2023/10/23 10:09
 */
@ToString(callSuper = true)
@Comment("Skyler文件记录表")
@TableName(value = "tb_skyler_record")
@Accessors(chain = true)
public class SkylerRecord extends CodeEntity {

    /**
     * 图片文件id
     */
    @Getter @Setter
    @Comment("图片文件id")
    String imageId;

    /**
     * 备注
     */
    @Getter @Setter
    @Comment("备注")
    String remark;


    @Getter @Setter
    @Comment("记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    Date recordTime;

    @Getter @Setter
    @Comment("数量")
    @TableField(exist = false)
    Integer count;

}
